package com.shxt.model;

import java.util.List;

import com.shxt.service.D_UserService;

public class SetUsernameList {
	public String[] usernameList(){
		List<String> ls = D_UserService.getInstance().allUserMail();
		String[] usernameList = new String[ls.size()] ;
		for (int i = 0; i < ls.size(); i++) {
			usernameList[i]=ls.get(i);
		}
		return usernameList;
	}
	/*public static void main(String[] args) {
		SetUsernameList sul = new SetUsernameList();
		String[] cache = sul.usernameList();
		for (int i = 0; i < cache.length; i++) {
			System.out.println(cache[i]);
		}
	}*/
}
